package libraryAdministration;
public class Book {
	int id;			//id
	String name;	//图书的名称
	String author;	//作者
	double price;	//价格
	String press;	//出版社
	public int getId() {	//返回图书的id
		return id;
	}
	public void setId(int id) {	//获得图书的id
		this.id = id;
	}
	public String getName() {	//返回图书的书名
		return name;
	}
	public void setName(String name) {	//获得图书的书名
		this.name = name;
	}
	public String getAuthor() {	//返回图书的作者
		return author;
	}
	public void setAuthor(String author) {	//获得图书的作者
		this.author = author;
	}
	public double getPrice() {	//返回图书的价格
		return price;
	}
	public void setPrice(double price) {	//获得图书的价格
		this.price = price;
	}
	public String getPress() {	//返回图书的出版社
		return press;
	}
	public void setPress(String press) {	//获得图书的出版社
		this.press = press;
	}
	
}
